/* 
 * File:   widgetSwap.h
 * Author: cow
 *
 * Created on February 15, 2011, 11:58 AM
 * a class used to swap widgets and keep
 * track of / delete memory.
 */

#ifndef _WIDGETSWAP_H
#define	_WIDGETSWAP_H

//includes-----------------------------
#include <gtkmm/widget.h>
#include <vector>
using namespace std;

//defines------------------------------

//prototypes---------------------------
class wSwap;

//definitions--------------------------
class wSwap{
    public:
        //constructs
        wSwap();
        ~wSwap();
        //manips
        int remember(Gtk::Widget* wdgt);
        Gtk::Widget* get(int widgetId);
        void clearMem();
    protected:
    private:
        vector<Gtk::Widget*> ptrs;
};


#endif	/* _WIDGETSWAP_H */

